﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using AutoWelding.DAL;
using AutoWelding.Models;

namespace AutoWelding.BLL
{
    public class LoginBLL
    {
        private LoginDAL loginDAL = new LoginDAL();
        /// <summary>
        /// 检查用户是否存在（登陆验证）
        /// </summary>
        /// <param name="username"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        public UserModel CheckUser(string  username, string password)
        { 
            return loginDAL.CheckUser(username,password);
        }

    }
}
